DX11 IS SPRITE OVERLAPPING

Checks whether sprite A is overlapping sprite B at any point.
This is a very simple check that only considers the bounding rectangles of the two sprites.
This information can be used to implement a very simple collision system akin to that exposed by the standard DBPro library
by keeping track of when two sprites begin to overlap (they collide / "hit") and when they no longer are overlapping.

  Syntax
Return Boolean = DX11 IS SPRITE OVERLAPPING(spriteA, spriteB)
  Parameters
spriteA
Dword
The first sprite to check whether its bounding rectangle overlaps that of the second sprite.
spriteB
Dword
The second sprite to check whether its bounding rectangle overlaps that of the first sprite.

  Returns

true if the given sprites are currently overlapping, or false otherwise.

  See also

SPRITE Functions Menu
DX11 Function Categories